package org.qcit.plugin;

import org.gradle.api.Project;

public class Extension {
    public String appName;
    public String pgyApiKey;
    public String changeLog;

    public String apiToken;
    public String msgTitle;
    public String msgContent;
    public String singleButtonTitle;
    public String singleButtonUrl;

    public Extension(Project project) {
    }
    public static Extension getConfig(Project project){
        Extension config = project.getExtensions().findByType(Extension.class);
        if (null == config){
            config = new Extension(project);
        }
        return config;
    }
}
